PPPPYYYYMMMMPPPPOOOOIIII, draw only points at the vertices.
PPPPYYYYMMMMLLLLIIIINNNN, draw lines from vertex to vertex.
PPPPYYYYMMMMFFFFIIIILLLL, fill the polygon interior.
PPPPYYYYMMMMHHHHOOOOLLLL, fill only interior pixels at the boundaries.
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
ppppoooollllyyyymmmmoooo specifies whether polygons are filled, outlined, drawn with points
at their vertices, or outlined with a hollow fill algorithm. Affected
polygons include all polygons that are normally filled, including those
generated by bbbbggggnnnnppppoooollll and eeeennnnddddppppoooollll, by bbbbggggnnnnttttmmmmeeee and eeeennnnddddttttmmmmeeee, by bbbbggggnnnnqqqqsssstttt and
eeeennnnddddqqqqsssstttt, by aaaarrrrccccffff, cccciiiirrrrccccffff, and rrrreeeeccccttttffff, and by NURBS surfaces. Also affected
are polygons generated by the obsolete ppppmmmmvvvv, ppppddddrrrr, and ppppcccclllloooossss commands, and
by ppppoooollllffff and ssssppppoooollllffff.
PPPPYYYYMMMMFFFFIIIILLLL is the default mode. In this mode polygons are filled with a
point-sample algorithm. (Refer to the Graphics Library Programmer's
Guide for an detailed explanation of point-sampling.)
PPPPYYYYMMMMPPPPOOOOIIII causes a single point to be drawn at each polygon vertex,
including vertices generated by clipping. All point rendering modes,
including antialiasing specified by ppppnnnnttttssssmmmmoooo, apply to these points.
PPPPYYYYMMMMLLLLIIIINNNN causes lines to be drawn from vertex to vertex around the
perimeter of the polygon. This line forms a single outline, because it
passes through both projected vertices and vertices generated by
clipping. All line rendering modes, including line width, line stipple
style, and line antialiasing specified by lllliiiinnnneeeessssmmmm, apply to these lines.
PPPPYYYYMMMMHHHHOOOOLLLL supports a special kind of polygon fill with the following
properties:
1. Only pixels on the polygon edge are filled. These pixels form a
single-width line (regardless of the current lllliiiinnnneeeewwwwiiii) around the
inner perimeter of the polygon.
2. Only pixels that would have been filled (PPPPYYYYMMMMFFFFIIIILLLL) are changed (i.e.
the outline does not extend beyond the exact polygon boundary).